package com.campus.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.campus.shop.entity.GoodsMessage;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *
 * @author xr
 * @since 2023-12-362 17:03:51
 */
@Mapper
@Repository
public interface MessageMapper extends BaseMapper<GoodsMessage> {
    List<GoodsMessage> getPageList(Integer limit, Integer offset, Integer goodsId);

    Integer getPageTotal(Integer goodsId);
}
